{% include file="index.header.tpl.php"%}
{%include file="index.left.tpl.php"%}
 <!--主要内容开始-->
  <div class="content-wrapper">
    <section class="content">
      <div class="row">
        <section class="col-lg-12 connectedSortable">
         <div class="box box-default box-solid">
             <form action="" method="post">	
                <div class="box-header with-border">
                    <span class="fa fa-table" style="float:left; font-size:18px; padding-top:3px; color:#3c8dbc;" ></span>
                    <p class="box-title">学校日常工作布置</p>
                </div>
                   <div class="box-body">
						<div class="form-group">
							  <label for="inputPassword3" class="col-md-3 control-label text-right" style="padding-right:0; padding-left:0; font-weight:500;">
								   标题：
							  </label>
							  <div class="input-group col-md-6 col-sm-12 col-xs-12">
								   <input type="text" class="form-control"  name="arrange_title" value="{%$arrange_data.arrange_title%}">
							  </div> 
				        </div>
						<div class="form-group">
							  <label for="inputPassword3" class="col-md-3 control-label text-right" style="padding-right:0; padding-left:0; font-weight:500;">
								   日期：
							  </label>
							  <div class="input-group col-md-3 col-sm-12 col-xs-12">
								   <input type="text" class="form-control" id ="from" value="{%$arrange_data.start_time%}" name="start_time">
                                   <div class="input-group-addon">
                                        <i class="fa fa-calendar"></i>
                                    </div> 
							  </div> 
				        </div>
						<div class="form-group">
							  <label for="inputPassword3" class="col-md-3 control-label text-right" style="padding-right:0; padding-left:0; font-weight:500;">
								   事务录入：
							  </label>
							  <div class="input-group col-md-6 col-sm-12 col-xs-12">
								   <textarea class="form-control" rows="4" name="arrange_content"> {%$arrange_data.arrange_content%}</textarea> 
							  </div> 
				        </div>
						<div class="form-group">
							  <label for="inputPassword3" class="col-md-3 control-label text-right" style="padding-right:0; padding-left:0; font-weight:500;">
								   负责部门：
							  </label>
							  <div class="input-group col-md-6 col-sm-12 col-xs-12">
							  {%foreach from=$department_lists key=key item=value%}
							  
								    <label class="choice"> <input type="checkbox" name="arrange_other[]" value="{%$value.department_id%}" {%if $value.is_check=='1'%}checked{%/if%}> {%$value.department_name%}</label>
							  {%/foreach%}
									<label> 									          
										<span>其他</span><input type="text" name="arrange_rest" value="{%$arrange_data.arrange_rest%}"> 
						            </label>
							  </div> 
				        </div>
						<div class="form-group">
							  <label for="inputPassword3" class="col-md-3 control-label text-right" style="padding-right:0; padding-left:0; font-weight:500;">
								   备注：
							  </label>
							  <div class="input-group col-md-6 col-sm-12 col-xs-12">
								   <textarea class="form-control" rows="4" name="arrange_remark"> {%$arrange_data.arrange_remark%}</textarea> 
							  </div> 
				        </div>
				   </div><!--box-body -->
				   <div class="box-footer text-center">
				      <button type="submit" class="btn btn-primary"> 确 定 </button>					  
				   </div>
               </form>
           </div><!--box box-default box-solid-->
        </section>   
           
        </div><!--row-->
    </section>
 </div>
  <!--主要内容结束-->
{% include file="index.footer.tpl.php"%}
<script>
  $(function() {
    $( "#from" ).datepicker({
      defaultDate: "+1w",
      changeMonth: true,
	  changeYear: true,
      numberOfMonths:1,
    });
  });
</script>
